h1 {
    font-size: 1.6em;
    line-height:1.6;
    font-weight: bold;
    margin: 1.6em 0px;
}


h2 {
    font-size: 1.5em;
    line-height: 1.5;
    margin: 1.5em 0px;
    border-left: 5px solid #FF5555;
    padding-left: 16px; 
    font-weight: bold;
}

h3 { 
  font-size: 1.2em;
  line-height:1.2;
  margin: 1.2em 0px;
  font-weight: bold;
}

h4 {

    font-size: 1em;
    font-weight: bold;
    line-height:1.2;
    color: #FF5555;
}

h5 {
    font-size: 1em;
    font-weight: bold;
    line-height:1.2;
}


h6 {
    font-size: 1em;
    font-weight: bold;
    color: #666666;
    line-height:1.2;
}




img
{
  display: block;
  margin:0 auto;  /*图片水平居中*/
  border-radius: 10px;
  /* margin:0 0;  */ /*图片水平居左*/
  max-width:80%;
  margin-bottom: 15px;
}

figcaption
{
  margin-top:10px;
  text-align:center;
   /* text-align:left;  */ /*当图片水平居左时，请打开*/
  color:#666;
  font-size: 0.7em;
}

.katex-display {/*块公式*/
  font-size:1.22em; 
}
.katex
{/*行内公式*/
  padding:8px 3px;
}
.katex-display > .katex
{/*块公式*/
   display:inline-block;
   text-align:center;
   padding:3px;
}
.katex img
{
  display:inline-block;
  vertical-align:middle;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline-offset: -2px;
}


blockquote {
    font-size: 1em;
    font-style: normal;
    padding: 20px;
    margin:10px 0px;
    position: relative;
    word-break: break-word;
    border-left: 4px solid #E0E0E0;
    background-color:#F5F5F5;
}

strong, dfn {
    color: #3399FF;
}


em, dfn {
    color: #FF9933;
}


/* code */
pre {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857;
    word-break: break-all;
    word-wrap: break-word;
    border-radius: 4px;
    white-space: pre-wrap;
    display: block;
    background: #F5F5F5;
    padding: 10px 20px;
    border: none;
    margin-bottom: 25px;
    color: #666;
    font-family: Courier, sans-serif;
    border: 1px solid #E0E0E0;
}

code {
    color: #ff3333;
    background-color: #f9f2f4;
    border-radius: 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    padding: 2px 4px;
}

p > code {
    color: #ff3333;
    background-color: #f9f2f4;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ddd;
}

ul, ol {
  padding-left: 32px;
}

ol#footnotes {
    font-size: 0.95em;
    padding-top: 1em;
    margin-top: 1em;
    margin-left: 0;
    border-top: 1px solid #eaeaea;
    counter-reset: footer-counter;
    list-style: none;
    color: #555;
    padding-left: 5%;
    margin: 20px 0;
}

ol#footnotes li {
    margin-bottom: 10px;
    margin-left: 16px;
    font-weight: 400;
    line-height: 2;
    list-style-type: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    line-height: 2;
    /* The caption on top will not have a bottom-border */
    margin-bottom: 2em;
}

thead > tr /* Entire table header row */
{
    border: 1pt solid #ddd;
    background-color: #ddd;
    font-weight: bold;
}

tbody tr /* table body row */
{
    border:1pt solid #ddd;
}


table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
	padding: 5px 10px;
    text-align: left;
}


